﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CEND Admin Panel</title>
    <link rel="stylesheet" href="~/Content/Admin/screen.css" type="text/css" media="screen"
        title="default" />
    <script src="~/Scripts/Admin/jquery-1.4.1.min.js" type="text/javascript"></script>

    <script src="~/Scripts/Admin/ui.core.js" type="text/javascript"></script>
    <script src="~/Scripts/Admin/ui.checkbox.js" type="text/javascript"></script>
    <script src="~/Scripts/Admin/jquery.bind.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('input').checkBox();
            $('#toggle-all').click(function () {
                $('#toggle-all').toggleClass('toggle-checked');
                $('#mainform input[type=checkbox]').checkBox('toggle');
                return false;
            });
        });
    </script>

    <!--  styled select box script version 1 -->
    <script src="~/Scripts/Admin/jquery.selectbox-0.5.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.styledselect').selectbox({ inputClass: "selectbox_styled" });
        });
    </script>

    <!--  styled select box script version 2 -->
    <script src="~/Scripts/Admin/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.styledselect_form_1').selectbox({ inputClass: "styledselect_form_1" });
            $('.styledselect_form_2').selectbox({ inputClass: "styledselect_form_2" });
        });
    </script>

    <!--  styled select box script version 3 -->
    <script src="~/Scripts/Admin/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.styledselect_pages').selectbox({ inputClass: "styledselect_pages" });
        });
    </script>

    <!--  styled file upload script -->
    <script src="~/Scripts/Admin/jquery.filestyle.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8">
        $(function () {
            $("input.file_1").filestyle({
                image: "~/Images/Admin/forms/choose-file.gif",
                imageheight: 21,
                imagewidth: 78,
                width: 310
            });
        });
    </script>

    <!-- Custom jquery scripts -->
    <script src="~/Scripts/Admin/custom_jquery.js" type="text/javascript"></script>

    <!-- Tooltips -->
    <script src="~/Scripts/Admin/jquery.tooltip.js" type="text/javascript"></script>
    <script src="~/Scripts/Admin/jquery.dimensions.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $('a.info-tooltip ').tooltip({
                track: true,
                delay: 0,
                fixPNG: true,
                showURL: false,
                showBody: " - ",
                top: -35,
                left: 5
            });
        });
    </script>


    <!--  date picker script -->
    <link rel="stylesheet" href="~/Content/Admin/datePicker.css" type="text/css" />
    <script src="~/Scripts/Admin/date.js" type="text/javascript"></script>
    <script src="~/Scripts/Admin/jquery.datePicker.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8">
        $(function () {

            // initialise the "Select date" link
            $('#date-pick')
                .datePicker(
                    // associate the link with a date picker
                    {
                        createButton: false,
                        startDate: '01/01/2005',
                        endDate: '31/12/2020'
                    }
                ).bind(
                    // when the link is clicked display the date picker
                    'click',
                    function () {
                        updateSelects($(this).dpGetSelected()[0]);
                        $(this).dpDisplay();
                        return false;
                    }
                ).bind(
                    // when a date is selected update the SELECTs
                    'dateSelected',
                    function (e, selectedDate, $td, state) {
                        updateSelects(selectedDate);
                    }
                ).bind(
                    'dpClosed',
                    function (e, selected) {
                        updateSelects(selected[0]);
                    }
                );

            var updateSelects = function (selectedDate) {
                var selectedDate = new Date(selectedDate);
                $('#d option[value=' + selectedDate.getDate() + ']').attr('selected', 'selected');
                $('#m option[value=' + (selectedDate.getMonth() + 1) + ']').attr('selected', 'selected');
                $('#y option[value=' + (selectedDate.getFullYear()) + ']').attr('selected', 'selected');
            }
            // listen for when the selects are changed and update the picker
            $('#d, #m, #y')
                .bind(
                    'change',
                    function () {
                        var d = new Date(
                                    $('#y').val(),
                                    $('#m').val() - 1,
                                    $('#d').val()
                                );
                        $('#date-pick').dpSetSelected(d.asString());
                    }
                );

            // default the position of the selects to today
            var today = new Date();
            updateSelects(today.getTime());

            // and update the datePicker to reflect it...
            $('#d').trigger('change');
        });
    </script>

    <script src="~/Scripts/Admin/jquery.pngFix.pack.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(document).pngFix();
        });
    </script>
</head>
<body>
    <div id="page-top-outer">

        <!-- Start: page-top -->
        <div id="page-top">
            <!-- start logo -->
            <div id="logo">
                <a href="@Url.Action("Index", "Home")">
                    <img src="~/Images/Base/Logo.png" width="156" height="40" alt="" /></a>
            </div>
            <!-- end logo -->
            <div class="clear"></div>

        </div>
        <!-- End: page-top -->

    </div>
    <!-- End: page-top-outer -->

    <div class="clear">&nbsp;</div>

    <!--  start nav-outer-repeat................................................................................................. START -->
    <div class="nav-outer-repeat">
        <!--  start nav-outer -->
        <div class="nav-outer">

            <!-- start nav-right -->
            <div id="nav-right">

                <div class="nav-divider">&nbsp;</div>
                <div class="showhide-account">
                    <img src="~/Images/Admin/shared/nav/nav_myaccount.gif" width="93" height="14" alt="" />
                </div>
                <div class="nav-divider">&nbsp;</div>
                @*<a href="@Url.Action("LogOff","Account")" id="logout">
                    <img src="~/Images/Admin/shared/nav/nav_logout.gif" width="64" height="14" alt="" /></a>
                <div class="clear">&nbsp;</div>*@
                @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" }))
                {
                    @Html.AntiForgeryToken()
                    <a href="javascript:document.getElementById('logoutForm').submit()" id="logout">
                        <img src="~/Images/Admin/shared/nav/nav_logout.gif" width="64" height="14" alt="" />
                    </a>
                }
                <div class="clear">&nbsp;</div>


                <!--  start account-content -->
                @*<div class="account-content">
                    <div class="account-drop-inner">
                        <a href="#" id="acc-settings">Settings</a>
                        <div class="clear">&nbsp;</div>
                        <div class="acc-line">&nbsp;</div>
                        <a href="#" id="acc-details">Personal details </a>
                        <div class="clear">&nbsp;</div>
                        <div class="acc-line">&nbsp;</div>
                        <a href="#" id="acc-project">Project details</a>
                        <div class="clear">&nbsp;</div>
                        <div class="acc-line">&nbsp;</div>
                        <a href="#" id="acc-inbox">Inbox</a>
                        <div class="clear">&nbsp;</div>
                        <div class="acc-line">&nbsp;</div>
                        <a href="#" id="acc-stats">Statistics</a>
                    </div>
                </div>*@
                <!--  end account-content -->

            </div>
            <!-- end nav-right -->


            <!--  start nav -->
            <div class="nav">
                <div class="table">

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "General")"><b>General</b></a>
                            <div class="select_sub show">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "AboutPage")">About Page</a></li>
                                    <li><a href="@Url.Action("Index", "IndustryPage")">Industry Expertise Page</a></li>
                                    <li><a href="@Url.Action("Index", "SolutionPage")">Solution Page</a></li>
                                    <li><a href="@Url.Action("Index", "Slider")">Slider Content</a></li>
                                    <li><a href="@Url.Action("Index", "Motto")">Motto Items</a></li>
                                    <li><a href="@Url.Action("Index", "Language")">Language Items</a></li>
                                    <li><a href="@Url.Action("Index", "Background")">Background Items</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>

                    <div class="nav-divider">&nbsp;</div>

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "Expert")"><b>Experts</b><!--[if IE 7]><!--></a><!--<![endif]-->
                            <!--[if lte IE 6]><table><tr><td><![endif]-->
                            <div class="select_sub">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "Expert")">List Experts</a></li>
                                    <li><a href="@Url.Action("Create", "Expert")">Add Experts</a></li>
                                </ul>
                            </div>
                            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                    </ul>

                    <div class="nav-divider">&nbsp;</div>

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "News")"><b>News</b><!--[if IE 7]><!--></a><!--<![endif]-->
                            <!--[if lte IE 6]><table><tr><td><![endif]-->
                            <div class="select_sub show">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "News")">List News</a></li>
                                    <li><a href="@Url.Action("Create", "News")">Add News</a></li>
                                </ul>
                            </div>
                            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                    </ul>

                    <div class="nav-divider">&nbsp;</div>

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "Projects")"><b>Project And Clients</b><!--[if IE 7]><!--></a><!--<![endif]-->
                            <!--[if lte IE 6]><table><tr><td><![endif]-->
                            <div class="select_sub">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "Projects")">List Projects</a></li>
                                    <li><a href="@Url.Action("Create", "Projects")">Add Projects</a></li>
                                </ul>
                            </div>
                            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                    </ul>

                    <div class="nav-divider">&nbsp;</div>

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "Report")"><b>iThink</b><!--[if IE 7]><!--></a><!--<![endif]-->
                            <!--[if lte IE 6]><table><tr><td><![endif]-->
                            <div class="select_sub show">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "Report")">List Report</a></li>
                                    <li><a href="@Url.Action("Create", "Report")">Add Report</a></li>
                                </ul>
                            </div>
                            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                        </li>
                    </ul>
                    <div class="nav-divider">&nbsp;</div>

                    
                    @*<ul class="select">
                        <li><a href="@Url.Action("Index", "Video")"><b>Videos</b></a>
                            <div class="select_sub show">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "Video")">List Videos</a></li>
                                    <li><a href="@Url.Action("Create", "Video")">Add Video</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>*@

                    @*<div class="nav-divider">&nbsp;</div>

                    <ul class="select">
                        <li><a href="@Url.Action("Index", "Report")"><b>Reports</b></a>
                            <div class="select_sub show">
                                <ul class="sub">
                                    <li><a href="@Url.Action("Index", "Report")">List Report</a></li>
                                    <li><a href="@Url.Action("Create", "Report")">Add Report</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>*@

                    @*<ul class="select">
                        <li><a href="@Url.Action("Index", "Language")"><b>Language</b></a>
                        </li>
                    </ul>*@

                    @*                <div class="nav-divider">&nbsp;</div>

                <ul class="select">
                    <li><a href="#nogo"><b>News</b><!--[if IE 7]><!--></a><!--<![endif]-->
                        <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <div class="select_sub">
                            <ul class="sub">
                                <li><a href="#nogo">News details 1</a></li>
                                <li><a href="#nogo">News details 2</a></li>
                                <li><a href="#nogo">News details 3</a></li>
                            </ul>
                        </div>
                        <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                </ul>*@

                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </div>
            <!--  start nav -->

        </div>
        <div class="clear"></div>
        <!--  start nav-outer -->
    </div>
    <!--  start nav-outer-repeat................................................... END -->

    <div class="clear"></div>

    <!-- start content-outer ........................................................................................................................START -->
    <div id="content-outer">
        <!-- start content -->
        <div id="content">
            @RenderBody()
        </div>
        <!--  end content -->
        <div class="clear">&nbsp;</div>
    </div>
    <!--  end content-outer........................................................END -->

    <div class="clear">&nbsp;</div>

    <!-- start footer -->
    <div id="footer">
        <!--  start footer-left -->
        <div id="footer-left">
            CEND &copy; CEND<span id="spanYear"></span>
        </div>
        <!--  end footer-left -->
        <div class="clear">&nbsp;</div>
    </div>
    <!-- end footer -->
    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)</body>
</html>


